ATH_NAME_MAX = 256
ATH_PHYS_HARDMAX = 1024
ATH_FARM_HARDMAX = 256
ATH_REQ_JOIN = "&"
ATH_REQ_ARG_JOIN = "?"
ATH_REQ_STATUS = "/status"
ATH_REQ_UPDATE = "/update"
ATH_REQ_BALANCE = "/balance"
ATH_REQ_MIRROR = "/mirror"
ATH_REQ_HELLO = "/hello"
ATH_REQ_FARM = "/farm"
ATH_REQ_PHYS = "/phys"
ATH_REQ_ENGINE = "/engine"
ATH_REQ_DEBUG = "/debug"
ATH_SFARM_STR_DELIM_HASH = "#"
ATH_SFARM_STR_DELIM = ":"
ATH_SFARM_STR_PREPEND = "prepend"
ATH_SFARM_STR_POSTPEND = "postpend"
ATH_SFARM_STR_REPLACE = "replace"
ATH_SFARM_STR_MATCH = "match"
ATH_SFARM_STR_REGEX = "regex"
ATH_SFARM_STR_STICKY = "sticky"
ATH_SFARM_STR_BLIND = "blindsticky"
ATH_MUXS_HARDMAX = (ATH_PHYS_HARDMAX
ATH_READ_WRITE = 0
ATH_READ_ONLY = 1
ATH_EOA = -1
ATH_OPN = -2
ATH_ON = 1
ATH_OFF = 0
ATH_UP = 1
ATH_DOWN = 0
ATH_IN = 1
ATH_OUT = 0
ATH_ALGO_STR_DEFAULT = "r"
ATH_ALGO_FIELDS = 16
ATH_ALGO_NON = (int)NULL
ATH_ALGO_SNON = "(null)"
ATH_ALGO_CPU = 'c'
ATH_ALGO_SCPU = "cpu"
ATH_ALGO_NET = 'n'
ATH_ALGO_SNET = "net"
ATH_ALGO_LOD = 'l'
ATH_ALGO_SLOD = "ld"
ATH_ALGO_MEM = 'm'
ATH_ALGO_SMEM = "mem"
ATH_ALGO_DIS = 'd'
ATH_ALGO_SDIS = "disk"
ATH_ALGO_CU0 = '0'
ATH_ALGO_SCU0 = "0cus"
ATH_ALGO_CU1 = '1'
ATH_ALGO_SCU1 = "1cus"
ATH_ALGO_CU2 = '2'
ATH_ALGO_SCU2 = "2cus"
ATH_ALGO_CU3 = '3'
ATH_ALGO_SCU3 = "3cus"
ATH_ALGO_CU4 = '4'
ATH_ALGO_SCU4 = "4cus"
ATH_ALGO_CU5 = '5'
ATH_ALGO_SCU5 = "5cus"
ATH_ALGO_CU6 = '6'
ATH_ALGO_SCU6 = "6cus"
ATH_ALGO_CU7 = '7'
ATH_ALGO_SCU7 = "7cus"
ATH_ALGO_CU8 = '8'
ATH_ALGO_SCU8 = "8cus"
ATH_ALGO_CU9 = '9'
ATH_ALGO_SCU9 = "9cus"
ATH_ALGO_TYPES = 3
ATH_ALGO_ROR = 'r'
ATH_ALGO_SIM = 's'
ATH_ALGO_DYN = 'd'
ATH_ALGO_MAXEX = 'm'
ATH_CASE_SPC = '
ATH_CASE_ESC = '%'
ATH_CASE_URLESC = 'E'
ATH_CASE_F_NAME = 'n'
ATH_CASE_ON = 'o'
ATH_CASE_UP = 'u'
ATH_CASE_IN = 'i'
ATH_CASE_ADD_P = 'M'
ATH_CASE_REM_P = 'R'
ATH_CASE_ALGO = 'a'
ATH_CASE_EXPECT = 'e'
ATH_CASE_HITADDS = 'h'
ATH_CASE_P_HOST = 'h'
ATH_CASE_MTIME = 't'
ATH_CASE_FMT = 'f'
ATH_CASE_DURL = 'd'
ATH_CASE_OURL = 'D'
ATH_CASE_SFABLE = 'F'
ATH_CASE_E_PATH = 'P'
ATH_CASE_NOMINA = 'n'
ATH_CASE_TTL = 't'
ATH_CASE_RTTL = 'r'
ATH_CASE_FARM = 'f'
ATH_CASE_PHYS = 'p'
ATH_CASE_CHOSEN = 'c'
ATH_CASE_F_MEMB = 'm'
ATH_CASE_P_MEMB = 'f'
ATH_CASE_STATS = 'S'
ATH_CASE_SERIAL = 's'
ATH_EENINVAL = "ERROR:
ATH_EENEMPTY = "WARNING:
ATH_EUPINVAL = "WARNING:
ATH_ESTINVAL = "WARNING:
ATH_EMRINVAL = "WARNING:
ATH_EBLNFARM = "WARNING:
ATH_EBLEFARM = "WARNING:
ATH_EBEMFARM = "WARNING:
ATH_ESTIPHYS = "WARNING:
ATH_ESTIFARM = "WARNING:
ATH_COOKIE_NAME_SMARTFARM_DEFAULT = "X-Ath-Smartfarm"
